package com.dragonfly.shutter.beans;

import java.util.List;

/**
 * 用户保存分页数据
 * @author 黄挺
 *
 */
public class PagedBean {
	private int pageSize;           //单页数据大小
	private int pageNum;			//分页页码
	private int itemNum;			//记录数量
	private int maxPage;			//最大页
	@SuppressWarnings("unchecked")
	private List pagedItem;			//数据
	
	public int getPageSize() {
		return pageSize;
	}
	
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
	public int getPageNum() {
		return pageNum;
	}
	
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	
	
	@SuppressWarnings("unchecked")
	public List getPagedItem() {
		return pagedItem;
	}
	
	@SuppressWarnings("unchecked")
	public void setPagedItem(List pagedItem) {
		this.pagedItem = pagedItem;
	}

	public void setItemNum(int itemNum) {
		this.itemNum = itemNum;
	}

	public int getItemNum() {
		return itemNum;
	}

	public void setMaxPage(int maxPage) {
		this.maxPage = maxPage;
	}

	public int getMaxPage() {
		return maxPage;
	}
}
